package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigSalesRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigTransferFattening;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:34
 */
public interface IPigTransferFatteningService {

    /**
     * 增加转育肥舍记录信息
     * @param pigTransferFattening
     * @return RespBean
     */
    RespBean insertPigTransferFattening(PigTransferFattening pigTransferFattening);

    /**
     *根据id删除转育肥舍记录信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigTransferFattening(Integer id);

    /**
     * 修改转育肥舍记录信息
     * @param pigTransferFattening
     * @return RespBean
     */
    RespBean updatePigTransferFattening(PigTransferFattening pigTransferFattening);


    /**
     * 分页查询转育肥舍记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigTransferFatteningByPage(Integer pageNumber,Integer pageSize);


    /**
     *查询转育肥舍记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigTransferFatteningNum();


}
